package iit.projects.etaxi.model.service;

import java.util.List;

import iit.projects.etaxi.model.dto.CustomerSCDO;
import iit.projects.etaxi.model.entity.Customer;
import iit.projects.etaxi.model.exception.DuplicateSequenceException;
import iit.projects.etaxi.model.exception.UsernameAlreadyExistsException;

public interface CustomerService {
	
	public void saveCustomer(Customer customer) throws UsernameAlreadyExistsException,
													   DuplicateSequenceException;
	
	public Customer findByUsername(String username);
	
	public Customer updateCustomer(Customer customer);
	
	public List<Customer> findCustomers(CustomerSCDO customerSCDO);
	
	public void deleteCustomer(Customer customer);
	

}
